package com.zy.web.mapper;

import com.zy.web.domain.ZyCompetition;
import com.zy.web.domain.vo.ZyUserVo;
import com.zy.web.domain.ZyUser;
import com.zy.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户Mapper接口
 *
 * @author zy
 * @date 2024-02-25
 */
@Mapper
public interface ZyUserMapper extends BaseMapperPlus<ZyUserMapper, ZyUser, ZyUserVo> {

    ZyUser selectUserByUserNameOrPhone(String nameOrPhone);
    List<String> selectUserXmByUserIdAndXmId(@Param("cptIds") String[] cptIds);

}
